//
//  AddPeopleNameTableViewCell.m
//  MyYiJianKangApp
//
//  Created by 张国文 on 16/3/31.
//  Copyright © 2016年 hangzhouyijiyin. All rights reserved.
//

#import "AddPeopleNameTableViewCell.h"

@implementation AddPeopleNameTableViewCell

- (void)awakeFromNib {
    // Initialization code
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addMySubview];
    }
    return self;
}

// 构建视图
- (void)addMySubview
{
    self.findImageV = [[UIImageView alloc] initWithFrame:CGRectMake(16 * kAdjustParamater, 12 * kAdjustParamater, 17 * kAdjustParamater, 17 * kAdjustParamater)];
  //  self.findImageV.backgroundColor = [UIColor redColor];
    self.findImageV.image = [UIImage imageNamed:@"tianjiahaoyoutubiao-tianjia"];
    [self.contentView addSubview:_findImageV];
    
    self.addFriendLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.findImageV.right + 10 * kAdjustParamater, 15 * kAdjustParamater, 100 * kAdjustParamater, 11 * kAdjustParamater)];
  //  self.addFriendLabel.backgroundColor = [UIColor redColor];
    self.addFriendLabel.text = @"输入好友名字/ID";
    self.addFriendLabel.font = [UIFont systemFontOfSize:13 * kAdjustParamater];
    self.addFriendLabel.textColor = [[UIColor blackColor] colorWithAlphaComponent:0.4];
    [self.contentView addSubview:_addFriendLabel];
}


@end
